package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/19  18:33
 */
@ApiModel("批量赋权参数")
public class SaveBatchUserPermissionEvt implements Serializable {
    private static final long serialVersionUID = 1074402038534522257L;
    @ApiModelProperty("选中的用户id")
    private List<String> selectUserIds;
    @ApiModelProperty("旧权限id")
    private List<String> oldPermissionIds;
    @ApiModelProperty("新权限id")
    private List<String> newPermissionIds;
    @ApiModelProperty("旧半选权限id")
    private List<String> oldPartPermIds;
    @ApiModelProperty("新半选权限id")
    private List<String> newPartPermIds;

    public List<String> getSelectUserIds() {
        return selectUserIds;
    }

    public void setSelectUserIds(List<String> selectUserIds) {
        this.selectUserIds = selectUserIds;
    }

    public List<String> getOldPermissionIds() {
        return oldPermissionIds;
    }

    public void setOldPermissionIds(List<String> oldPermissionIds) {
        this.oldPermissionIds = oldPermissionIds;
    }

    public List<String> getNewPermissionIds() {
        return newPermissionIds;
    }

    public void setNewPermissionIds(List<String> newPermissionIds) {
        this.newPermissionIds = newPermissionIds;
    }

    public List<String> getOldPartPermIds() {
        return oldPartPermIds;
    }

    public void setOldPartPermIds(List<String> oldPartPermIds) {
        this.oldPartPermIds = oldPartPermIds;
    }

    public List<String> getNewPartPermIds() {
        return newPartPermIds;
    }

    public void setNewPartPermIds(List<String> newPartPermIds) {
        this.newPartPermIds = newPartPermIds;
    }

    @Override
    public String toString() {
        return "SaveBatchUserPermissionEvt{" +
            "selectUserIds=" + selectUserIds +
            ", oldPermissionIds=" + oldPermissionIds +
            ", newPermissionIds=" + newPermissionIds +
            ", oldPartPermIds=" + oldPartPermIds +
            ", newPartPermIds=" + newPartPermIds +
            '}';
    }
}
